package cn.tedu.csmall.product.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description:
 * @Author: sweeterjava@163.com
 * @Date: 2022/10/26
 * @Time: 14:12
 */

@Data
public class AlbumAddNewDTO {
    /**
     * 相册名称
     */
    @ApiModelProperty(value = "相册名称", required = true)
    @NotNull(message = "相册名称不能为空")
    private String name;

    /**
     * 相册简介
     */
    @ApiModelProperty(value = "相册简介")
    private String description;

    /**
     * 自定义排序序号
     */
    @ApiModelProperty(value = "自定义排序序号", required = true)
    @NotNull(message = "自定义排序序号不能为空")
    private Integer sort;
}
